Creates a new CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters> instance.

Namespace: Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)

public CarboniteController( 
bool persistChangesPerOperation
bool closeDataContextOnChangeConfirmation
params DataContextCreationArgument[] dataContextCreationArguments 
)
This language is not supported or no code example is available.

Parameters

persistChangesPerOperation

Type: bool

if set to true the data changes will commit every time a persistence method of a DAO is successfully executed.

closeDataContextOnChangeConfirmation

Type: bool

if set to true the underlying data store context will be closed after successfully calling the ConfirmChanges method.

dataContextCreationArguments

Type: DataContextCreationArgument[]

The data context creation arguments to pass to the OnCreateDataContext(DataContextCreationArgument[]) method.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono